package com.agpfd.crazyeights;

import android.graphics.Bitmap;

public class Card {

	private int id;
	private Bitmap bmp;
	private int rank,suit;
	

	public Card(int newId) {
		id = newId;
		suit = Math.round((id/100) * 100); 
		rank = id - suit;
		
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Bitmap getBmp() {
		return bmp;
	}

	public void setBmp(Bitmap bmp) {
		this.bmp = bmp;
	}

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}

	public int getSuit() {
		return suit;
	}

	public void setSuit(int suit) {
		this.suit = suit;
	}
	
	
}
